package it.antonio.ilpizze.func;

public class Pair<K,V> {
	private K first;
	private V second;

	public Pair(K first, V second) {
		this.first = first;
		this.second = second;
	}
	public static <K,V,KK extends K, VV extends V> Pair<K, V> from(KK first, VV second){
		return new Pair<K, V>(first, second);
	}
	public K first() {
		return first;
	}

	public V second() {
		return second;
	}
	
	
}